# coding=utf8

__author__ = "zouxiaoliang"


def tab_99():
    for i in range(1, 10):
        print " ".join("%d * %d = %d" % (j, i, i*j) for j in range(1, i+1))


if __name__ == '__main__':
    tab_99()
